package coder.nav.model.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class NavPageVO<T> implements Serializable {

    private Integer pageIndex;
    private Integer pageSize;
    private Long totalCount;
    private List<T> data;

    public NavPageVO(Integer pageIndex, Integer pageSize, Long totalCount) {
        this.pageIndex = pageIndex;
        this.pageSize = pageSize;
        this.totalCount = totalCount;
    }

}
